-- GENERATED SPELL FOR [Rockwing Gargoyle] --


function spell0_10408(pUnit, Event) --@Sunder Armor,n/a--
pUnit:FullCastSpellOnTarget(13444,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_10408', 30337, 1)
end

function Sorts_10408(pUnit, Event)
local choix_sorts_10408 = math.random(0, 0)
if choix_sorts_10408 == 0 then
pUnit:RegisterEvent('spell0_10408', 1, 1)
end
end

function mob10408_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10408', math.random(1500, 3000), 1)
end

function mob10408_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10408_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10408_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10408, 1, 'mob10408_Action')
RegisterUnitEvent(10408, 2, 'mob10408_Leave')
RegisterUnitEvent(10408, 3, 'mob10408_Kill')
RegisterUnitEvent(10408, 4, 'mob10408_Die')
